# add 指令测试
# 将 1 号寄存器的值修改为 0x01
# 将 2 号寄存器的值修改为 0x02
# 将 3-31 号寄存器的值修改为 0x03 ,0x04, ..., 0x1f
# 将 2 号 (v0) 寄存器的值修改为 0x0a
# 停机

.text
 addi  $1,$0,1
 add   $2,$1,$1
 add   $3,$2,$1
 add   $4,$3,$1
 add   $5,$4,$1
 add   $6,$5,$1
 add   $7,$6,$1
 add   $8,$7,$1
 add   $9,$8,$1
 add   $10,$9,$1
 add   $11,$10,$1
 add   $12,$11,$1
 add   $13,$12,$1
 add   $14,$13,$1
 add   $15,$14,$1
 add   $16,$15,$1
 add   $17,$16,$1
 add   $18,$17,$1
 add   $19,$18,$1
 add   $20,$19,$1
 add   $21,$20,$1
 add   $22,$21,$1
 add   $23,$22,$1
 add   $24,$23,$1
 add   $25,$24,$1
 add   $26,$25,$1
 add   $27,$26,$1
 add   $28,$27,$1
 add   $29,$28,$1
 add   $30,$29,$1
 add   $31,$30,$1
 add   $v0,$0,10         # exit 
 syscall                 # we are out of here.  
